<template>
  <div class="app-citys-block">
    <div class="city-index-title">{{ title }}</div>
    <div class="content">
      <div class="item">
        <slot></slot>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: ["title"]
};
</script>

<style lang="scss">
.app-citys-block {
  height: auto;
  .city-index-title {
    background-color: #f4f4f4;
    color: #797d82;
    padding: 0 0 0 0.4rem;
    height: 0.8rem;
    line-height: 0.8rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  .content {
    display: flex;
    -webkit-box-pack: start;
    align-content: center;
    flex-wrap: wrap;
    height: auto;

    .item {
      text-align: center;
      padding: .2rem;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
    }
  }
}
</style>
